﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ttbit.WorkingSpace
{
    public interface IWorkResource : IDisposable
    {
        //MetaInfo meta
        //{
        //    get;
        //}
        /// <summary>
        /// 该资源的描述
        /// </summary>
        string Name
        {
            get;
        }
        string TypeName
        {
            get;
        }
        bool Dirty
        {
            get;
        }
        string[] RefResource
        {
            get;
        }
        bool ContainsResource(string name);
        void MarkDirty();
        void ClearDirty();
    }

}
